package com.finace.money.data.bean;

/**
 * Created by S on 2018/2/26.
 */

public class OrderErrorBean extends BaseEntity{


    /**
     * Order : {"Symbol":"rb1805","Side":false,"TotalSize":3,"Size":-3,"LimitPrice":4023.67,"StopPrice":0,"Comment":"风控拒绝:非交易时间","Exchange":"SHFE","Account":"1880003","SecurityType":"FUT","Currency":"RMB","LocalSymbol":"unused","id":636550632243321855,"TimeInForce":"DAY","Date":20180226,"Time":151026,"FilledSize":0,"Trail":0,"Broker":"","BrokerKey":"","LocalID":"","Status":"Reject","OffsetFlag":"OPEN","OrderRef":"","ForceClose":false,"HedgeFlag":"Speculation","OrderSeq":6122,"OrderExchID":"","ForceCloseReason":"","FrontIDi":1,"SessionIDi":238,"RequestID":0,"IsMarketOrder":false}
     * is_last : true
     * rsp_info : {"error_id":82,"error_message":"非交易时间"}
     */

    private OrderBean Order;
    private boolean is_last;
    private RspInfoBean rsp_info;

    public OrderBean getOrder() {
        return Order;
    }

    public void setOrder(OrderBean Order) {
        this.Order = Order;
    }

    public boolean isIs_last() {
        return is_last;
    }

    public void setIs_last(boolean is_last) {
        this.is_last = is_last;
    }

    public RspInfoBean getRsp_info() {
        return rsp_info;
    }

    public void setRsp_info(RspInfoBean rsp_info) {
        this.rsp_info = rsp_info;
    }

    public static class OrderBean {
        /**
         * Symbol : rb1805
         * Side : false
         * TotalSize : 3
         * Size : -3
         * LimitPrice : 4023.67
         * StopPrice : 0.0
         * Comment : 风控拒绝:非交易时间
         * Exchange : SHFE
         * Account : 1880003
         * SecurityType : FUT
         * Currency : RMB
         * LocalSymbol : unused
         * id : 636550632243321855
         * TimeInForce : DAY
         * Date : 20180226
         * Time : 151026
         * FilledSize : 0
         * Trail : 0.0
         * Broker :
         * BrokerKey :
         * LocalID :
         * Status : Reject
         * OffsetFlag : OPEN
         * OrderRef :
         * ForceClose : false
         * HedgeFlag : Speculation
         * OrderSeq : 6122
         * OrderExchID :
         * ForceCloseReason :
         * FrontIDi : 1
         * SessionIDi : 238
         * RequestID : 0
         * IsMarketOrder : false
         */

        private String Symbol;
        private boolean Side;
        private int TotalSize;
        private int Size;
        private double LimitPrice;
        private double StopPrice;
        private String Comment;
        private String Exchange;
        private String Account;
        private String SecurityType;
        private String Currency;
        private String LocalSymbol;
        private long id;
        private String TimeInForce;
        private int Date;
        private int Time;
        private int FilledSize;
        private double Trail;
        private String Broker;
        private String BrokerKey;
        private String LocalID;
        private String Status;
        private String OffsetFlag;
        private String OrderRef;
        private boolean ForceClose;
        private String HedgeFlag;
        private int OrderSeq;
        private String OrderExchID;
        private String ForceCloseReason;
        private int FrontIDi;
        private int SessionIDi;
        private int RequestID;
        private boolean IsMarketOrder;

        public String getSymbol() {
            return Symbol;
        }

        public void setSymbol(String Symbol) {
            this.Symbol = Symbol;
        }

        public boolean isSide() {
            return Side;
        }

        public void setSide(boolean Side) {
            this.Side = Side;
        }

        public int getTotalSize() {
            return TotalSize;
        }

        public void setTotalSize(int TotalSize) {
            this.TotalSize = TotalSize;
        }

        public int getSize() {
            return Size;
        }

        public void setSize(int Size) {
            this.Size = Size;
        }

        public double getLimitPrice() {
            return LimitPrice;
        }

        public void setLimitPrice(double LimitPrice) {
            this.LimitPrice = LimitPrice;
        }

        public double getStopPrice() {
            return StopPrice;
        }

        public void setStopPrice(double StopPrice) {
            this.StopPrice = StopPrice;
        }

        public String getComment() {
            return Comment;
        }

        public void setComment(String Comment) {
            this.Comment = Comment;
        }

        public String getExchange() {
            return Exchange;
        }

        public void setExchange(String Exchange) {
            this.Exchange = Exchange;
        }

        public String getAccount() {
            return Account;
        }

        public void setAccount(String Account) {
            this.Account = Account;
        }

        public String getSecurityType() {
            return SecurityType;
        }

        public void setSecurityType(String SecurityType) {
            this.SecurityType = SecurityType;
        }

        public String getCurrency() {
            return Currency;
        }

        public void setCurrency(String Currency) {
            this.Currency = Currency;
        }

        public String getLocalSymbol() {
            return LocalSymbol;
        }

        public void setLocalSymbol(String LocalSymbol) {
            this.LocalSymbol = LocalSymbol;
        }

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getTimeInForce() {
            return TimeInForce;
        }

        public void setTimeInForce(String TimeInForce) {
            this.TimeInForce = TimeInForce;
        }

        public int getDate() {
            return Date;
        }

        public void setDate(int Date) {
            this.Date = Date;
        }

        public int getTime() {
            return Time;
        }

        public void setTime(int Time) {
            this.Time = Time;
        }

        public int getFilledSize() {
            return FilledSize;
        }

        public void setFilledSize(int FilledSize) {
            this.FilledSize = FilledSize;
        }

        public double getTrail() {
            return Trail;
        }

        public void setTrail(double Trail) {
            this.Trail = Trail;
        }

        public String getBroker() {
            return Broker;
        }

        public void setBroker(String Broker) {
            this.Broker = Broker;
        }

        public String getBrokerKey() {
            return BrokerKey;
        }

        public void setBrokerKey(String BrokerKey) {
            this.BrokerKey = BrokerKey;
        }

        public String getLocalID() {
            return LocalID;
        }

        public void setLocalID(String LocalID) {
            this.LocalID = LocalID;
        }

        public String getStatus() {
            return Status;
        }

        public void setStatus(String Status) {
            this.Status = Status;
        }

        public String getOffsetFlag() {
            return OffsetFlag;
        }

        public void setOffsetFlag(String OffsetFlag) {
            this.OffsetFlag = OffsetFlag;
        }

        public String getOrderRef() {
            return OrderRef;
        }

        public void setOrderRef(String OrderRef) {
            this.OrderRef = OrderRef;
        }

        public boolean isForceClose() {
            return ForceClose;
        }

        public void setForceClose(boolean ForceClose) {
            this.ForceClose = ForceClose;
        }

        public String getHedgeFlag() {
            return HedgeFlag;
        }

        public void setHedgeFlag(String HedgeFlag) {
            this.HedgeFlag = HedgeFlag;
        }

        public int getOrderSeq() {
            return OrderSeq;
        }

        public void setOrderSeq(int OrderSeq) {
            this.OrderSeq = OrderSeq;
        }

        public String getOrderExchID() {
            return OrderExchID;
        }

        public void setOrderExchID(String OrderExchID) {
            this.OrderExchID = OrderExchID;
        }

        public String getForceCloseReason() {
            return ForceCloseReason;
        }

        public void setForceCloseReason(String ForceCloseReason) {
            this.ForceCloseReason = ForceCloseReason;
        }

        public int getFrontIDi() {
            return FrontIDi;
        }

        public void setFrontIDi(int FrontIDi) {
            this.FrontIDi = FrontIDi;
        }

        public int getSessionIDi() {
            return SessionIDi;
        }

        public void setSessionIDi(int SessionIDi) {
            this.SessionIDi = SessionIDi;
        }

        public int getRequestID() {
            return RequestID;
        }

        public void setRequestID(int RequestID) {
            this.RequestID = RequestID;
        }

        public boolean isIsMarketOrder() {
            return IsMarketOrder;
        }

        public void setIsMarketOrder(boolean IsMarketOrder) {
            this.IsMarketOrder = IsMarketOrder;
        }
    }

}
